package ooday01;
/** 构造方法的演示 */
public class ConsDemo {
    public static void main(String[] args) {
        Student zs = new Student(); //调用无参构造方法
        Student ls = new Student("李四",26); //调用2个参的构造方法
        Student ww = new Student("王五",28,"jsd2302","001"); ////调用4个参的构造方法

        zs.sayHi();
        ls.sayHi();
        ww.sayHi();
    }
}
